/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.common.biz.enums;

import lombok.Getter;

/**
 * @author zhanghongyi
 * @date 2024/5/22 11:25
 * @description BizExceptionCodeEnum
 */
@Getter
public enum BizExceptionCodeEnum {
    /**
     * 业务异常
     * */
    BIZ_EXCEPTION(400,"业务异常"),

    FILE_REQUIRED_EXCEPTION(5001,"Required part 'file' is not present"),
    FILE_REQUIRED_CN_EXCEPTION(5002,"请求中未找到文件，请上传文件。");

    private final int code;
    private final String desc;
    BizExceptionCodeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
